//
//  TaoBaoViewController.m
//  礼物go
//
//  Created by dllo on 16/5/31.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "TaoBaoViewController.h"

@interface TaoBaoViewController ()

@end

@implementation TaoBaoViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
            //创建webView
    UIWebView *webView = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, SCREENWIDTH, SCREENHeight - 64)];
    [webView setUserInteractionEnabled:YES];
    [webView setScalesPageToFit:YES];
    [self.view addSubview:webView];
    
            //加载网页
            // NSLog(@"%@",self.urlString);
    NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:self.urlString]];
    [webView loadRequest:request];
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
